package com.car.service.impl;

import com.car.dao.AchievementMapper;
import com.car.entity.Billing;
import com.car.entity.Pet_card;
import com.car.service.IAchievementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("achievementrService")
public class AchievementService implements IAchievementService {

    @Autowired
    @Qualifier("achievementrMapper")
    private AchievementMapper achievementMapper;

    @Override
    public List<Billing> Bill() { return achievementMapper.Bill(); }

    @Override
    public int findrecharge() {
        return achievementMapper.findrecharge();
    }

    @Override
    public int findgift() {
        return achievementMapper.findgift();
    }

    @Override
    public int findpet_card() {
        return achievementMapper.findpet_card();
    }

    @Override
    public int  findmoney() {
        return achievementMapper.findmoney();
    }

    @Override
    public List<Pet_card> Pet_card() {
        return achievementMapper.Pet_card();
    }

    @Override
    public int bills() { return achievementMapper.bills(); }

    //模糊
    @Override
    public String findrecharges(String regtime ,String regtime1) {return achievementMapper.findrecharges(regtime,regtime1); }

    @Override
    public String findgifts(String regtime, String regtime1) {
        return achievementMapper.findgifts(regtime,regtime1);
    }

    @Override
    public String findpet_cards(String regtime, String regtime1) { return achievementMapper.findpet_cards(regtime,regtime1); }

    @Override
    public String findmoneys(String regtime, String regtime1) {
        return achievementMapper.findmoneys(regtime,regtime1);
    }

    @Override
    public List<Pet_card> Pet_cards(String regtime, String regtime1) { return achievementMapper.Pet_cards(regtime,regtime1); }

    @Override
    public List<Billing> Bills(String regtime, String regtime1) {
        return achievementMapper.Bills(regtime,regtime1);
    }

    @Override
    public String billss(String regtime, String regtime1) { return achievementMapper.billss(regtime,regtime1);}
}
